<!--
 * @Author: luhe luhe0715@163.com
 * @Date: 2022-07-06 15:34:17
 * @LastEditors: luhe
 * @LastEditTime: 2023-02-16 18:02:25
 * @FilePath: \my-vite-vue3\src\components\HelloWorld.vue
-->
<template>
  <h1>{{ msg }}</h1>
  <a-button @click="count++">count is: {{ count }}</a-button>
  <p>Edit <code>components/HelloWorld.vue</code> to test hot module replacement.</p>
</template>

<script>
import { ref, defineComponent } from 'vue'
export default defineComponent({
  name: 'HelloWorld',
  props: {
    msg: String
  },
  data() {
    return {
      count: 0
    }
  }
})
</script>
